package com.oscar.web.dao;


import com.oscar.web.domain.Book;
import com.oscar.web.domain.Users;
import org.springframework.data.repository.Repository;

public interface UserRepository  extends Repository<Users, Long> {

    public Users save(Users user);

    public Users findByUsername(String username , Class<Users> type);

    public Boolean existsUsersByUsername(String username);

}
